#ifndef STATE_HPP
#define STATE_HPP

#include "pcb.hpp"
#include <array>
#include <cstddef>

template <size_t NRESOURCE> struct state {
  size_t idx;
  pcb<NRESOURCE> pcb_val;
  std::array<size_t, NRESOURCE> work;
  std::array<size_t, NRESOURCE> work_allocation;
  bool finish;
};

#endif